import React, { Component } from 'react';
import Blank from './blankViews'
import Header from '../informations/InformationsViews'

class Black extends Component {
    state = { 
        title:'黑名单',
        list:[
            {
                name:'ratat',
                reason:'禁止访问',
                time:'2019/10/09'
            },
            {
                name:'flower',
                reason:'禁止访问',
                time:'2019/10/09'
            },
            {
                name:'smallflower',
                reason:'禁止访问',
                time:'2019/10/09'
            }
        ]
     }
    render() { 
        return ( 
            <>
                <Header back={()=>this.goBack() }title={this.state.title}  ></Header>
                <Blank list={this.state.list}></Blank>
            </>
         );
    }
    goBack(){
        this.props.history.go(-1)
    }
}
 
export default Black;
